﻿ALTER TABLE [flcr].[DEVICE]
    ADD CONSTRAINT [FK_DEVICE_DEVICE] FOREIGN KEY ([PARENT_ID]) REFERENCES [flcr].[DEVICE] ([DEVICE_ID]) ON DELETE NO ACTION ON UPDATE NO ACTION;

